package com.hzw.saas.service.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzw.saas.api.ds.enums.ClientTypeEnum;
import com.hzw.saas.api.user.bo.DsUserAccountBo;
import com.hzw.saas.service.user.model.UserProfile;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户配置表 Mapper 接口
 * </p>
 *
 * @author sonam
 * @since 2020-12-21
 */
@Mapper
public interface UserProfileMapper extends BaseMapper<UserProfile> {

    /**
     * ds定制用户信息.
     *
     * @param userId the user id
     * @param ds     the ds
     * @return the ds user account
     */
    DsUserAccountBo getDsUserAccount(@Param("userId") String userId,
                                     @Param("clientType") ClientTypeEnum clientType);
}
